renameFilesMatching

fun renameFilesMatching(oldName: String, newName: String, dir: File)

This method will rename files matching oldName to newName in the given dir

Parameters

oldName
newName